Telegram Group & Telegram Channel
#вопрос269

Вы занимаетесь сборкой игрушечных машинок. Каждая машинка должна иметь четыре колеса, один корпус и две фигурки человечков внутри.

Напишите функцию, которая будет принимать количество колес, корпусов и человечков и возвращать количество машинок, которые можно собрать из этих деталей.

Примеры:

cars(2, 48, 76) ➞ 0
# 2 колеса, 48 корпусов, 76 человечков
cars(43, 15, 87) ➞ 10
cars(88, 37, 17) ➞ 8



tg-me.com/pythonjuniorjob/910
Create:
Last Update:

#вопрос269

Вы занимаетесь сборкой игрушечных машинок. Каждая машинка должна иметь четыре колеса, один корпус и две фигурки человечков внутри.

Напишите функцию, которая будет принимать количество колес, корпусов и человечков и возвращать количество машинок, которые можно собрать из этих деталей.

Примеры:

cars(2, 48, 76) ➞ 0
# 2 колеса, 48 корпусов, 76 человечков
cars(43, 15, 87) ➞ 10
cars(88, 37, 17) ➞ 8

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/910

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

How Does Telegram Make Money?

Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

Python вопросы на собеседовании с ответами from nl


Telegram Python вопросы на собеседовании с ответами
FROM USA